<!doctype html>
<html lang="zh-cn">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta content="telephone=no" name="format-detection">
    <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="./css/common/base.min.css">
    <!-- <link rel="stylesheet" href="./css/common/layer.min.css"> -->
    <script src="./js/common/base.min.js"></script>
    <script src="./js/page/layer.min.js"></script>
    <script src="./js/page/jquery.cookie.min.js" charset="utf-8"></script>
    <script src="./js/page/sign.min.js" charset="utf-8"></script>
    <link rel="stylesheet" href="./css/page/ios.min.css?v20180525">
    <link href="http://cdn.bootcss.com/highlight.js/8.0/styles/monokai_sublime.min.css" rel="stylesheet">
    <script src="http://cdn.bootcss.com/highlight.js/8.0/highlight.min.js"></script>
    <script src="./js/page/handlebars.min.js"></script>
    <script src="./js/page/qrcode.min.js"></script>
    <script src="./js/page/ios.min.js"></script>
    <script>
        hljs.initHighlightingOnLoad();
    </script>
    <script>
        var params = "1731585436"
    </script>
    <title>iOS集成</title>
    <style type="text/css">
        .layout-content {
            min-width: 1024px;
            box-sizing: content-box;
        }

        .share_list {
            background: url(images/share_img.png) no-repeat 100%;
            background-size: cover;
            height: 240px;
            background-color: #fff;
            float: left;
            min-width: 32%
        }

        .share_list p:first-child {
            font-size: 24px;
            margin: 60px 0 26px 30px;
            color: #282828
        }

        .share_list p:last-child {
            font-size: 30px;
            margin: 0 0 0 30px;
            color: #282828
        }
    </style>
</head>

<body style="background:#fff">

    <div class="layout-container">
        <div class="dashbord-loading" id="_loading_mask">
            <!-- <img src="/images/loading.gif"> -->
        </div>
        <div class="layout-header">
            <div class="logo-bar" style="float:left">
                <a style="display:inline-block;width:100%;height:100%" target="_blank" href="./index.html">
                    <img src="./img/overview/logo.png" alt="" style="margin-top:11px">
                </a>
            </div>
            <div class="pull-right" style="margin:15px 70px 0 0">
                <!-- <div class="app-apidoc fl"><a href="./copywriting.html" target="_blank">接入指南</a></div> -->
                <div class="app-applist fl"><a href="./application.html">应用管理</a></div>
                <ul class="nav nav-pills fl">
                    <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                            <span id="username"></span>
                            <span class="caret"></span>
                        </a>
                    <ul class="dropdown-menu">
                        <!-- <li><a href="./application.html">应用列表</a></li> -->
                        <!-- <li class="divider"></li> -->
                        <li><a href="./personal.html">用户信息</a></li>
                        <li class="divider"></li>
                        <li><a href="javascript:;" id='loginOut'>退出登录</a></li>
                    </ul>
                    </li>
                </ul>
        
                <div class="fl apppay-state">免费体验中</div>
            </div>
        </div>

        <div class="layout-menu" id="_menu">
            <div class="menu-app">
                <p>
                    <img id="app_icon" style="width:70px;height:70px">
                </p>
                <p id="app_name" style="font-size:18px;padding:15px 0 0;margin:0;color:#fff"></p>
                <p style="margin:5px 0 20px;color:#75777b">
                    <a href="javascript:;" class="common-tip">
                        <span class="tip-content">appKey是shareinstall平台为每个应用分配的唯一标识符，sdk(Android/iOS/javascript)中需指定这个appKey</span>
                    </a>
                    <span style="font-size:14px;font-weight:700;color:#c4c4c4">AppKey：</span>
                    <span id="app_key" style="color:#c4c4c4;font-size:14px"></span>
                </p>
                <p><a href="./editingApplication.html" class="detail_icon"><img src="./img/overview/i.png" alt="" style="vertical-align:middle;margin-right:8px;position: relative;top:-1px">应用信息</a></p>
            </div>
            <div class="menu-items">
                <div class="menu-item item-5">
                    <div class="menu-item-text">
                        <span>应用统计</span>
                    </div>
                    <div class="menu-child">
                        <div class="subItem-1">
                            <a href="./overview.html" class="load-channel-a" id="my-overview">
                                <span class="icon my-overview fl"></span>
                                <p class="fl">数据概览</p>
                            </a>
                        </div>
                    </div>
                </div>
                <div class="menu-item item-1">
                    <div class="menu-item-text">
                        <span>应用集成</span>
                    </div>
                    <div class="menu-child my-active">
                        <div class="subItem-1 ">
                            <a href="./android.html" class="load-channel-a" id="my-android">
                                <span class="icon my-android fl"></span>
                                <p class="fl" style="color:#5f6b7e"> Android集成</p>
                            </a>
                        </div>
                        <div class="subItem-2 active">
                            <a href="javascript:;" class="load-channel-a" id="my-ios">
                                <span class="icon my-ios fl"></span>
                                <p class="fl"> iOS集成</p>
                            </a>
                        </div>
                        <div class="subItem-3">
                            <a href="./web.html" class="load-channel-a" id="my-web">
                                <span class="icon my-web fl"></span>
                                <p class="fl" style="color:#5f6b7e">Web集成</p>
                            </a>
                        </div>
                    </div>
                </div>
                <div class="menu-item item-2">
                    <div class="menu-item-text">
                        <span>渠道统计</span>
                    </div>
                    <div class="menu-child ">
                        <div class="subItem-1 ">
                            <a href="./management.html" class="load-channel-a" id="my-qudao1">
                                <span class="icon my-qudao1 fl"></span>
                                <p class="fl">渠道管理</p>
                            </a>
                        </div>
                        <div class="subItem-2">
                            <a href="./comparison.html" class="load-channel-a" id="my-qudao2">
                                <span class="icon my-qudao2 fl"></span>
                                <p class="fl">渠道对比</p>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="blank-bg"></div>
        <div style="position:fixed;background:#fff;z-index:2;left:270px;top:90px;right:20px;padding:25px 30px 25px 30px;min-width:1024px">
            <div class="integrated" style="float:right;padding-top:4px">
            <a href="javascript:;" class="depoly-line-test test-win-button" style="display:none">在线测试</a>
            </div>
            <div id="tabs" class="tabs">
                <ul class="tab-form">
                    <li class="active fl">
                        <a href="javascript:;"><span>1</span>iOS集成</a>
                    </li>
                    <li class="fl">
                        <a href="javascript:;"><span>2</span>iOS包上传</a>
                    </li>
                    <li class="fl">
                        <a href="javascript:;"><span>3</span>iOS应用配置</a>
                    </li>
                    <!-- <li class="fl">
                        <a href="javascript:;">ios下载设置</a>
                    </li> -->
                </ul>
            </div>
            <!-- <div id="integrate-tip" style="">
            <div class="not-integrated" style="border:2px dashed red;margin-top:10px;padding:10px 5px">
                <span class="depoly-tip" style="color:red;font-size:16px">提示：ios平台尚未集成，</span>
                <a href="" class="depoly-tip-bt" style="font-size:16px;color:#00a4ff">现在去集成</a>
            </div>
        </div> -->
        </div>
        <div class="layout-content" id="_content">
            <div id="tab-panel" class="">
                <div id="_ios" class="my-android container my-app" style="">
                    <div class="depoly-said" style="margin:0px 0px 20px;color:#00A4B0">
                        <b style="color:#00A4B0">提示：</b>以下代码（配置）由shareinstall根据当前应用动态生成，开发者可直接使用；按照以下步骤指引，10分钟即可完成IOS SDK集成。
                    </div>
                    <h1 style="margin-top: 0;">一、产品原理</h1>
                    <h2>
                        <span>精确的App安装来源与携带参数安装 ：</span>shareInstall的核心价值在于，帮助Android/iOS开发者通过shareInstall提供的sdk，精确的获取app每一次安装的分享（或推广）来源。原理如下：开发者在分享的h5页面上集成
                        shareInstall web sdk，发布分享链接时在url上动态的拼接任意的自定义参数（如推广渠道号，邀请码等等）；当某一终端访问该h5页面时，shareinstall web sdk将同时确定该设备的个性化信息和采集自定义参数，上传至shareInstall服务器，
                        待用户通过该h5页面安装app后首次打开时（如当前设备已安装该app，将直接拉起该app并传递参数），使用shareInstall Android/iOS sdk从shareInstall服务器再取回暂存的自定义参数。
                    </h2>
                    <h2>
                        <span>一键拉起功能：</span>shareInstall通过标准的scheme、universal link 等技术，在app已安装的情况下，从各种浏览器（包括微信、QQ、新浪微博、钉钉等主流社交软件的内置浏览器）拉起app并传递自定义参数，避免重复安装，如没安装则调至appStore或应用宝下载app，下载完毕唤起app的相应页面。
                    </h2>
                    <h1>二、iOS SDK集成</h1>
                    <h2>
                        <span>1、导入SDK</span>
                    </h2>
                    <div>
                        <div class="mount-text" style="padding-left:25px">
                            <ul style="overflow:hidden">
                                <li style="float:left">
                                    <div class="doc">
                                        <img src="./img/console/sdk.png" alt="" style="width:41px;height:40px;margin:45px auto 10px">
                                        <p>iOS SDK</p>
                                        <p style="margin:40px auto 14px">
                                            <a href="http://api.shareinstall.com/download/1.0.6/ios">下载</a>
                                        </p>
                                        <p style="font-size:14px">v1.0.6</p>
                                    </div>
                                </li>
                                <li style="float:left;margin-left:46px">
                                    <div class="doc">
                                        <img src="./img/console/demo.png" alt="" style="width:41px;height:40px;margin:45px auto 10px">
                                        <p>iOS DEMO</p>
                                        <p style="margin:40px auto 14px">
                                            <a href="http://api.shareinstall.com/download/1.0.6/iosdemo">下载</a>
                                        </p>
                                        <p style="font-size:14px">v1.0.6</p>
                                    </div>
                                </li>
                            </ul>
                        </div>
                    </div>
                    <h2>下载并解压最新版SDK压缩包，将libShareInstall.a和ShareInstallSDK.h导入工程中。</h2>
                    <h2><span>2、初始化SDK</span></h2>
        <h2>在AppDelegate中，增加头文件的引用：</h2>
        <pre style="width:820px;height:300px">
<code style="width: 100%;height: 92%;" class="lang-javascript">
#import “ShareInstallSDK.h”

在-(BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    方法中调用setAppKey方法来初始化SDK，如下代码所示：

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[ShareInstallSDK setAppKey:@"<span class="doc-appkey">jgec0y</span>" withDelegate:self WithOptions:launchOptions];
return YES;
}
</code>
</pre>
        <h2>注：AppKey需填写自己的AppKey，请到ShareInstall官网后台查看自己应用的AppKey。</h2>
        <h2><span>3、个性化安装</span></h2>
        <h2>当应用安装后首次打开时，iOS sdk会收到网页端通过js sdk传来的自定义动态参数，精确的获取app每一次安装的分享（或推广）来源。比如通过在分享链接url中附带app邀请人的用户id，就可达到免填邀请码的效果；url中可拼接自定义的参数。在AppDelegate中，添加获取安装参数的回调方法，代码如下所示:</h2>
        <pre style="width:820px;height:220px">
<code style="width: 100%;height: 92%;" class="lang-javascript">
#pragma mark ShareInstallDelegate
//通过ShareInstall获取自定义参数，数据为空时也会调用此方法
- (void)getInstallParamsFromSmartInstall:(id) params withError: (NSError *) error{
NSLog(@"安装参数params=%@",params);
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"直接点击App进来的" message:[self DataTOjsonString:params] delegate:nil cancelButtonTitle:@"取消" otherButtonTitles:@"确定", nil];
    //弹出提示框（便于调试，调试完成后删除此代码）
    [alert show];
}
</code>
</pre>
        <h2><span>4、一键跳转</span></h2>
        <h2>ShareInstall通过标准的scheme、universal link等技术，在app安装的情况下，从各种浏览器（微信、QQ、新浪微博、钉钉等主流社交软件的内置浏览器）唤醒 app
            并传递自定义参数，避免重复安装。</h2>
        <h2><span>5、 universal link 配置</span></h2>
        <h2>Universal link是iOS9的一个新特性，通过Universal link，App可以通过各种浏览器跳转到App（例如微信内可不通过safari，一键跳转到App），真正实现一键跳转到相应界面。
            <br/>备注：iOS9以上推荐使用Universal link。
        </h2>

        <h2><span>5.1 配置developer.apple.com的相关信息</span></h2>
        <h2>到苹果开发者中心，为当前的App ID开启Associated Domains服务：</h2>
        <img src="./img/copywriting/ios1.png" alt="">
        <h2><span>5.2 配置Xcode</span></h2>
        <h2>在Xcode中配置ShareInstall为当前应用生成的关联域名：Associated Domains 开关打开，添加Domains: <span style="color:red">applinks:<span class="doc-link"></span>.shareinstall.com</span></h2>
        <img src="./img/copywriting/ios2.png" alt="">
        <h2>在AppDelegate中的continueUserActivity方法中调用，用来处理Universal link。</h2>
        <pre style="width:800px;height:280px">
<code style="width: 100%;height: 90%;" class="lang-javascript">
//Universal Links 通用链接
- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray * _Nullable))restorationHandler
{
    //判断是否通过ShareInstall Universal Links 唤起App
    if ([ShareInstallSDK continueUserActivity:userActivity]) {
return YES ;
}else{
        //其他代码
        return YES;
    }
}
</code>
</pre>
        <h2><span>5.3 配置App的URL Scheme</span></h2>
        <h2>iOS系统中App之间是相互隔离的，通过URL Scheme, App之间可以相互调用，并且可以传递参数。
            <br/>备注：iOS9以下通过Url Scheme实现拉起。
        </h2>
        <h2><span>5.4 在Xcode里选中Target—Info—URL Types, 配置shareInstall为当前应用生成的Url Scheme，如图所示：</span></h2>
        <h2>identifier 配置为 com.ShareInstall，URL Schemes从shareInstall获取(<span class="doc-scheme" style="color:red"></span>)。</h2>
        <h2>注：identifier 一定要配置为com.ShareInstall</h2>
        <img src="./img/copywriting/ios3.png" alt="">
        <h2><span>5.5 URL Scheme相关代码配置</span></h2>
        <h2>注意：当需要在shareInstall这个方法中处理第三方回调的时候（比如支付宝、微信回调等），请注意区分。</h2>
        <pre style="width:800px;height:650px">
<code style="width: 100%;height: 90%;" class="lang-javascript">
//iOS9以下 URI Scheme
-(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation{

    //判断是否通过ShareInstall URL Scheme 唤起App
    if ([ShareInstallSDK handLinkURL:url]) {
         return YES;
    }else{
        //其他代码
        return YES;
    }

    return YES;
}

//iOS9以上 URL Scheme
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(nonnull NSDictionary *)options
{
    //判断是否通过ShareInstall URL Scheme 唤起App
    if ([ShareInstallSDK handLinkURL:url]) {

        return YES;
    }else{
        //其他代码
        return YES;
    }

    return YES;
}
</code>
</pre>
        <h2><span>5.6获取唤醒参数，直达具体页</span></h2>
        <h2>通过在url中附带具体的参数，唤醒app并跳转到具体页。</h2>
        <pre style="width:800px;height:180px">
<code style="width: 100%;height: 90%;" class="lang-javascript">
- (void)getWakeUpParamsFromSmartInstall: (id) params withError: (NSError *) error{
NSLog(@"唤醒参数params=%@",params);
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"URL shceme 进来的" message:[self DataTOjsonString:params] delegate:nil cancelButtonTitle:@"取消" otherButtonTitles:@"确定", nil];
//弹出提示框（便于调试，调试完成后删除此代码）
[alert show];
}
</code>
</pre>
        <h2><span>5.7 其他代码配置</span></h2>
        <h2>如果做测试，获取参数，则必须在Appdelegate.h加上如下测试代码。</h2>
        <pre style="width:800px;height:420px">
<code style="width: 100%;height: 90%;" class="lang-javascript">
#pragma mark 将oc数据类型转成NSString
-(NSString *)DataTOjsonString:(id)object
{
    if (!object) {
        return nil;
    }

    NSString *jsonString = nil;
    NSError *error;
    NSData *jsonData = [NSJSONSerialization dataWithJSONObject:object
                                                       options:NSJSONWritingPrettyPrinted
                                                         error:&error];
    if (! jsonData) {
        NSLog(@"Got an error: %@", error);
    } else {
jsonString = [[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding];
    }
    return jsonString;
}
</code>
</pre>

    <h2>6、注册量统计</h2>
    <h2>使用Shareinstall 控制中心提供的渠道统计时，在App用户注册完成后调用，可以统计渠道注册量。</h2>
    <h2>#warning 必须在注册成功的时调用[ShareInstallSDK    reportRegister] 方法，否则可能导致注册统计不准。</h2>
<div style="text-align:center; padding-bottom: 20px">
        <!-- <a href="javascript:;" class="step_top step_prev" style="margin-right:100px" data-tab-index="1">上一步</a> -->
        <a href="javascript:;" class="step_top step_next" style="background:#4890ff;color:#fff;margin-right:0"
            data-tab-index="1">下一步</a>
    </div>
                </div>

                <div id="_deposit" class="my-app" style="display:none">
                    <div class="tab-content">
                        <div class="depoly-said" style="margin:0 30px 20px;color:#00A4B0">
                            <b style="color:#00A4B0">提示：</b>导出api内测包上传，shareinstall将自动完成所有应用配置工作，上传完成后即可进行在线模拟测试；待测试无误后，再完善appstore配置信息。<br>
                        </div>
                        <div class="tabbable deposite_list">
                            <div class="tab-content tab-op">
                                <div class="tab-pane active">
                                    <div class="pkgInfoContainer"></div>
                                    <div style="overflow:hidden">
                                        <a href="javascript:;" class="btn_a btn_upload btn-to-upload" style="float:right;margin-bottom:15px">上传IPA文件</a>
                                    </div>
                                    <!-- <div class="pkgListContainer">
                                    <div>
                                        <table class="table-responsive table-hover channel_link_table">
                                            <thead>
                                            <tr>
                                                <th width="160px">
                                                    <a href="javascript:;" class="common-tip">
                                                        <span class="tip-content">上传安装包时，shareinstall将为每个安装包生成一个递增的序号</span>
                                                    </a>
                                                    序号
                                                </th>
                                                <th width="160px">版本号</th>
                                                <th width="160px">内部版本号</th>
                                                <th width="160px">文件大小</th>
                                                <th width="180px">上传日期</th>
                                                <th width="200px">操作</th>
                                            </tr>
                                            </thead>
                                            <tbody>
                                            
                                            <tr class="empty">
                                            <td class="channel-table-bt" colspan="9" style="padding: 90px;line-height:30px">
                                            <p class="no-template">Android平台尚未集成，暂时无法使用！</p>
                                            <br/>
                                            <a href="javascript:;" class="btn_a doc-android"
                                            style="padding:8px 20px;display:inline;border-radius:0;background:#4890FF;cursor:pointer">现在去集成</a>
                                            </td>
                                            </tr>
                                            
                                            </tbody>
                                        </table>
                                    </div>
                                    <div style="padding:40px 0; text-align:center">

                                        1/0

                                        <span class="release-container-sp">共0条</span>
                                    </div>
                                </div> -->
                                    <script type="text/x-handlebars-template" class="pkgInfoTmp">
                                        <div class="ipa-detail clearfix" style="text-align: left;margin:30px 0 40px;position: relative">
                                            <div class="depoly-length" style="padding-bottom: 30px;">
                                                <div>
                                                    <div style="float: left;">
                                                        {{#if icon}}
                                                        <img src="{{icon}}" alt="" style="width:60px;height:60px;border-radius: 3px" /> {{else}}
                                                        <img src="./img/default-icon.png" alt="" style="width:60px;height:60px;border-radius: 3px"
                                                        /> {{/if}}
                                                    </div>
                                                    <div style="margin-left: 110px">
                                                        <table class="detail-message">
                                                            <tr>
                                                                <!-- <td>
                                                                    {{#if serialNumber}}
                                                                    <p class="base-message">序号：
                                                                        <span>{{serialNumber}}</span>
                                                                    </p>
                                                                    {{/if}} {{#if fileName}}
                                                                    <p class="base-message">文件名：
                                                                        <span>{{fileName}}</span>
                                                                    </p>
                                                                    {{/if}}
                                                                </td> -->
                                                                <td>
                                                                    <p class="base-message">应用名：
                                                                        <span>{{#eval}}app_name{{/eval}}</span>
                                                                    </p>
                                                                </td>
                                                                <td>
                                                                    <p class="base-message">文件大小：
                                                                        <span>{{filesize}}</span>
                                                                    </p>
                                                                </td>
                                                            </tr>
                                                            <tr>

                                                                <td>
                                                                    {{#if createTime}}
                                                                    <p class="base-message">上传时间：
                                                                        <span>{{createTime}}</span>
                                                                    </p>
                                                                    {{/if}}
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="depoly-length ipa-message" style="padding: 30px 0;overflow: hidden">
                                                <table>
                                                    <tr>
                                                        <td>
                                                            <p class="info">
                                                                {{#if warns.bundleId}}
                                                                <img src="/images/type/warn.png" alt="" /> {{/if}} {{#if errors.bundleId}}
                                                                <img src="/images/type/error.png" alt="" /> {{/if}}
                                                                <span>Bundle Identifier：</span>
                                                                <span class="ipa-message-name">{{bundle_id}}</span>
                                                            </p>
                                                            {{#if warns.bundleId}}
                                                            <p class="warn">{{warns.bundleId}}
                                                                <a href="javascript:;" class="doc-ios-bundleId">点此查看详情</a>
                                                            </p>
                                                            {{/if}} {{#if errors.bundleId}}
                                                            <p class="warn">{{errors.bundleId}}
                                                                <a href="javascript:;" class="doc-ios-bundleId">点此查看详情</a>
                                                            </p>
                                                            {{/if}}
                                                        </td>
                                                        <td>
                                                            <p class="info">
                                                                {{#if warns.teamId}}
                                                                <img src="/images/type/warn.png" alt="" /> {{/if}} {{#if errors.teamId}}
                                                                <img src="/images/type/error.png" alt="" /> {{/if}}
                                                                <span>Team Id：</span>
                                                                <span class="ipa-message-name">{{team_id}}</span>
                                                            </p>
                                                            {{#if warns.teamId}}
                                                            <p class="warn">{{warns.teamId}}
                                                                <a href="javascript:;" class="doc-ios-teamId">点此查看详情</a>
                                                            </p>
                                                            {{/if}} {{#if errors.teamId}}
                                                            <p class="warn">{{errors.teamId}}
                                                                <a href="javascript:;" class="doc-ios-teamId">点此查看详情</a>
                                                            </p>
                                                            {{/if}}
                                                        </td>
                                                    </tr>
                                                    <!-- <tr>
                                                        <td>
                                                            <p class="info">
                                                                {{#if warns.versionDisplay}}
                                                                <img src="/images/type/warn.png" alt="" /> {{/if}} {{#if errors.versionDisplay}}
                                                                <img src="/images/type/error.png" alt="" /> {{/if}}
                                                                <span>版本号：</span>
                                                                <span class="ipa-message-name">{{versionDisplay}}</span>
                                                            </p>
                                                            {{#if warns.versionDisplay}}
                                                            <p class="warn">{{warns.versionDisplay}}</p>
                                                            {{/if}} {{#if errors.versionDisplay}}
                                                            <p class="warn">{{errors.versionDisplay}}</p>
                                                            {{/if}}
                                                        </td>
                                                        <td>
                                                            <p class="info">
                                                                {{#if warns.version}}
                                                                <img src="/images/type/warn.png" alt="" /> {{/if}} {{#if errors.version}}
                                                                <img src="/images/type/error.png" alt="" /> {{/if}}
                                                                <span>内部版本号：</span>
                                                                <span class="ipa-message-name">{{version}}</span>
                                                            </p>
                                                            {{#if warns.version}}
                                                            <p class="warn">{{warns.version}}</p>
                                                            {{/if}} {{#if errors.version}}
                                                            <p class="warn">{{errors.version}}</p>
                                                            {{/if}}
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td>
                                                            <p class="info">
                                                                {{#if warns.distrType}}
                                                                <img src="/images/type/warn.png" alt="" /> {{/if}} {{#if errors.distrType}}
                                                                <img src="/images/type/error.png" alt="" /> {{/if}}
                                                                <span>ipa导出类型：</span>
                                                                <span class="ipa-message-name">{{distrType}}</span>
                                                            </p>
                                                            {{#if warns.distrType}}
                                                            <p class="warn">{{warns.distrType}}</p>
                                                            {{/if}} {{#if errors.distrType}}
                                                            <p class="warn">{{errors.distrType}}</p>
                                                            {{/if}}
                                                        </td>
                                                        <td>
                                                            <p class="info">
                                                                {{#if warns.devices}}
                                                                <img src="/images/type/warn.png" alt="" /> {{/if}} {{#if errors.devices}}
                                                                <img src="/images/type/error.png" alt="" /> {{/if}}
                                                                <span>授权设备(UDID)：</span>
                                                                <span class="ipa-message-name" onclick="layer.open({type: 1,title: 'UDID列表',closeBtn: 1,skin: 'layui-layer-lan',area: '700px',shadeClose: true,scrollbar: true,content: $(this).closest('.ipa-detail').find('.ipa_devices')});"
                                                                    style="cursor: pointer">{{devices.length}}个
                                                                    <b style="color: #00a4ff;font-weight: normal">(点击查看)</b>
                                                                </span>
                                                            </p>
                                                            {{#if warns.devices}}
                                                            <p class="warn">{{warns.devices}}</p>
                                                            {{/if}} {{#if errors.devices}}
                                                            <p class="warn">{{errors.devices}}</p>
                                                            {{/if}}
                                                        </td>
                                                    </tr> -->
                                                    <!-- {{#if shareinstallDomain}}
                                                    <tr>
                                                        <td>
                                                            <p class="info">
                                                                {{#if warns.ulinkServiceEnabled}}
                                                                <img src="/images/type/warn.png" alt="" /> {{/if}} {{#if errors.ulinkServiceEnabled}}
                                                                <img src="/images/type/error.png" alt="" /> {{/if}}
                                                                <span>Associated Domains服务：</span>
                                                                <span class="ipa-message-name">{{#if ulinkServiceEnabled}}已开启{{/if}}{{#unless ulinkServiceEnabled}}未开启{{/unless}}</span>
                                                            </p>
                                                            {{#if warns.ulinkServiceEnabled}}
                                                            <p class="warn">{{warns.ulinkServiceEnabled}}&nbsp;&nbsp;
                                                                <a href="javascript:;"
                                                                    class="doc-ios-ulink">点此查看详情</a>
                                                            </p>
                                                            {{/if}} {{#if errors.ulinkServiceEnabled}}
                                                            <p class="warn">{{errors.ulinkServiceEnabled}}&nbsp;&nbsp;
                                                                <a href="javascript:;"
                                                                    class="doc-ios-ulink">点此查看详情</a>
                                                            </p>
                                                            {{/if}}
                                                        </td>
                                                        <td>
                                                            <p class="info">
                                                                {{#if warns.shareinstallDomain}}
                                                                <img src="/images/type/warn.png" alt="" /> {{/if}} {{#if errors.shareinstallDomain}}
                                                                <img src="/images/type/error.png" alt="" /> {{/if}}
                                                                <span>关联域名(由shareinstall自动分配)：</span>
                                                                <span class="ipa-message-name">{{shareinstallDomain}}</span>
                                                            </p>
                                                            {{#if warns.shareinstallDomain}}
                                                            <p class="warn">{{warns.shareinstallDomain}}&nbsp;&nbsp;
                                                                <a href="javascript:;"
                                                                    class="doc-ios-ulink">点此查看详情</a>
                                                            </p>
                                                            {{/if}} {{#if errors.shareinstallDomain}}
                                                            <p class="warn">{{errors.shareinstallDomain}}&nbsp;&nbsp;
                                                                <a href="javascript:;"
                                                                    class="doc-ios-ulink">点此查看详情</a>
                                                            </p>
                                                            {{/if}}
                                                        </td>
                                                    </tr>
                                                    {{/if}}  -->
                                                    {{#if scheme}}
                                                    <tr>
                                                        <td>
                                                            <p class="info">
                                                                {{#if warns.shareinstallScheme}}
                                                                <img src="/images/type/warn.png" alt="" /> {{/if}} {{#if errors.shareinstallScheme}}
                                                                <img src="/images/type/error.png" alt="" /> {{/if}}
                                                                <span>scheme(由shareinstall自动分配)：</span>
                                                                <span class="ipa-message-name">{{scheme}}</span>
                                                            </p>
                                                            {{#if warns.shareinstallScheme}}
                                                            <p class="warn">{{warns.shareinstallScheme}}&nbsp;&nbsp;
                                                                <a href="javascript:;" class="doc-ios-scheme">点此查看详情</a>
                                                            </p>
                                                            {{/if}} {{#if errors.shareinstallScheme}}
                                                            <p class="warn">{{errors.shareinstallScheme}}&nbsp;&nbsp;
                                                                <a href="javascript:;" class="doc-ios-scheme">点此查看详情</a>
                                                            </p>
                                                            {{/if}}
                                                        </td>
                                                        <td></td>
                                                    </tr>
                                                    {{/if}}
                                                </table>
                                                {{#if resign}}
                                                <div style="color:red;font-size: 16px;margin: 20px 0 0;">当前ipa由第三方企业证书重签名，通用链接(Universal Link)可能无法正常工作，如需拉起功能请联系技术客服！</div>
                                                {{/if}}
                                            </div>
                                            <div style="clear:left"></div>
                                            <!--<div class="dashbord-loading" id="loading_tr" style="z-index: 99999;position: absolute;display: none">-->
                                            <!--<img src="/images/loading.gif" style="width: 60px;height: 60px;left: 50%;">-->
                                            <!--</div>-->
                                            <div class="ipa_devices" style="display:none;min-height:300px;">
                                                <table>
                                                    {{#unless devices}}
                                                    <tr>
                                                        <td style="vertical-align: middle;height:300px;width: 700px;text-align: center;">
                                                            <!-- <img src="/images/type/no-udid.png" alt="" /> -->
                                                        </td>
                                                    </tr>
                                                    {{/unless}} {{#each devices}} {{#if_even @index}}
                                                    <tr>
                                                        {{/if_even}}
                                                        <td style="padding:5px 10px;text-align: left">{{this}}</td>
                                                        {{#if_even @index}} {{else}}
                                                    </tr>
                                                    {{/if_even}} {{/each}} {{#if_even devices.length}} {{else}}
                                                    </tr>
                                                    {{/if_even}}
                                                </table>
                                                <div style="clear:both"></div>
                                            </div>
                                        </div>
                                    </script>
                                    <script type="text/x-handlebars-template" class="pkgListTmp">
                                        <div>
                                            <table class="table-responsive table-hover channel_link_table">
                                                <thead>
                                                    <tr>
                                                        <th width="160px">
                                                            <a href="javascript:;" class="common-tip">
                                                                <span class="tip-content">上传安装包时，shareinstall将为每个安装包生成一个递增的序号</span>
                                                            </a>
                                                            序号
                                                        </th>
                                                        <th width="160px">版本号</th>
                                                        <th width="160px">内部版本号</th>
                                                        <th width="160px">文件大小</th>
                                                        <th width="180px">上传日期</th>
                                                        <th width="200px">操作</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                    {{#with rows}} {{#each this}} {{#if using}}
                                                    <tr style="color:blue" data-row-index="{{_index}}" data-pkgId="{{id}}">
                                                        {{else}}
                                                        <tr data-row-index="{{_index}}" data-pkgId="{{id}}">
                                                            {{/if}}
                                                            <td class="release_td">{{serialNumber}}</td>
                                                            <td class="release_td">{{versionDisplay}}</td>
                                                            <td class="release_td">{{version}}</td>
                                                            <td class="release_td">{{sFileSize}}</td>
                                                            <td class="release_td">{{sUploadTime}}</td>
                                                            <td class="release_td">
                                                                {{#if using}} {{/if}} {{#unless using}}
                                                                <a href="javascript:;" class="deploy-pkg-button" style="width:80px;display:inline-block;color:#5BD377">
                                                                    <img src="images/type/fabu.png" alt="" />&nbsp;&nbsp;发布</a>
                                                                <a href="javascript:;" class="remove-pkg-button" style="width:80px;display:inline-block;color:#399CFF">
                                                                    <img src="images/type/rubbish.png" alt="" />&nbsp;&nbsp;删除</a>
                                                                {{/unless}}
                                                            </td>
                                                        </tr>
                                                        {{/each}} {{else}} {{/with}}
                                                        <!--{{#unless integrated}}-->
                                                        <!--<tr class="empty">-->
                                                        <!--<td class="channel-table-bt" colspan="9" style="padding: 90px;line-height:30px">-->
                                                        <!--<p class="no-template">Android平台尚未集成，暂时无法使用！</p>-->
                                                        <!--<br/>-->
                                                        <!--<a href="javascript:;" class="btn_a doc-android"-->
                                                        <!--style="padding:8px 20px;display:inline;border-radius:0;background:#4890FF;cursor:pointer">现在去集成</a>-->
                                                        <!--</td>-->
                                                        <!--</tr>-->
                                                        <!--{{/unless}}-->
                                                </tbody>
                                            </table>
                                        </div>
                                        <div style="padding:40px 0; text-align:center">
                                            {{#if hasPrev}}
                                            <a style="cursor:pointer;" class="page-prev">上一页</a>{{/if}} {{#eval}}pageNum+1{{/eval}}/{{pages}} {{#if hasNext}}
                                            <a style="cursor:pointer;" class="page-next">下一页</a>{{/if}}
                                            <span class="release-container-sp">共{{total}}条</span>
                                        </div>
                                    </script>
                                </div>
                            </div>
                        </div>
                        <div style="margin:0 auto 0 auto;display:none" class="deposite_upload">
                            <div style="overflow:hidden;margin-bottom:-30px">
                                <a href="javascript:;" class="btn_a btn-upload-back btn_upload" style="float:right;margin:0;padding:5px 30px;margin-right:20px">返&nbsp;&nbsp;回</a>
                            </div>
                            <div class="deposit-uploader-container">
                                <style>
                                    .progress {
                                        height: 20px;
                                        background: #ebebeb;
                                        border-left: 1px solid transparent;
                                        border-right: 1px solid transparent;
                                        border-radius: 10px;
                                        width: 75%;
                                        margin: 30px auto
                                    }

                                    .progress>span {
                                        position: relative;
                                        float: left;
                                        margin: 0 -1px;
                                        min-width: 30px;
                                        height: 18px;
                                        line-height: 16px;
                                        text-align: right;
                                        background: #ccc;
                                        border: 1px solid;
                                        border-color: #bfbfbf #b3b3b3 #9e9e9e;
                                        border-radius: 10px;
                                        background-image: -webkit-linear-gradient(top, #f0f0f0 0, #dbdbdb 70%, #ccc 100%);
                                        background-image: -moz-linear-gradient(top, #f0f0f0 0, #dbdbdb 70%, #ccc 100%);
                                        background-image: -o-linear-gradient(top, #f0f0f0 0, #dbdbdb 70%, #ccc 100%);
                                        background-image: linear-gradient(to bottom, #f0f0f0 0, #dbdbdb 70%, #ccc 100%);
                                        -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, .3), 0 1px 2px rgba(0, 0, 0, .2);
                                        box-shadow: inset 0 1px rgba(255, 255, 255, .3), 0 1px 2px rgba(0, 0, 0, .2)
                                    }

                                    .progress .blue {
                                        background: #a5d4f1;
                                        border-color: #459fd6 #3094d2 #277db2;
                                        background-image: -webkit-linear-gradient(top, #aed5ed 0, #7bbbe2 70%, #5aaadb 100%);
                                        background-image: -moz-linear-gradient(top, #aed5ed 0, #7bbbe2 70%, #5aaadb 100%);
                                        background-image: -o-linear-gradient(top, #aed5ed 0, #7bbbe2 70%, #5aaadb 100%);
                                        background-image: linear-gradient(to bottom, #aed5ed 0, #7bbbe2 70%, #5aaadb 100%)
                                    }

                                    .upload-percent {
                                        position: relative;
                                        top: -50px;
                                        left: 40%;
                                        color: #78cfff;
                                        font-weight: 700;
                                        font-size: 16px
                                    }

                                    #up_container input[type=file] {
                                        cursor: pointer
                                    }

                                    #upimg {
                                        position: relative;
                                        text-align: center;
                                        font: 8px/10px '微软雅黑', '黑体', sans-serif;
                                        width: 500px;
                                        height: 10px;
                                        border: 0;
                                        margin: 50px auto 0;
                                        border-radius: 10px;
                                        background: #e8e8e8;
                                        display: none;
                                    }

                                    #load {
                                        width: 0%;
                                        height: 100%;
                                        background: #0e92ff;
                                        text-align: center;
                                        font-size: 12px;
                                        border-radius: 10px;
                                    }
                                </style>
                                <div class="item-upload up_container">
                                    <div class="up_area" style="position:absolute;top:0;left:0;width:100%;height:100%">
                                        <a href="javascript:;" class="btn_a up_button" style="margin: 200px auto 40px; background: #40d6d6; border-radius: 4px; color: rgb(255, 255, 255); position: relative; z-index: 1;">
                                            选择ipa文件
                                            <input type="file" name="mof" class="upload-filebtn" />
                                        </a>
                                        <!-- <button style="color:#00c864;margin:200px auto 40px;display:none" class="btn_submit stop_upload">取消上传</button>
                                        <div id="upimg">
                                            <div id="load" style="width: 0%;">0%</div>
                                            <div id="loadProcess" style="position:absolute;right:-45px;top:0px;color:#00a4ff">0%</div>
                                        </div> -->
                                        <p style="color:#898989">
                                            在此上传安装包仅用于在线检查shareinstall集成配置，方便开发者快速集成与测试，不存在额外的安全隐患。</p>
                                        <p style="color:#898989">(单个文件最大支持800M)</p>
                                        <p style="color:#f47870;margin-top:150px">请使用chrome,firefox,safari,edge或是IE&gt;=10的浏览器</p>
                                    
                                </div>
                                    <div class="drag_area" style="position:absolute;top:0;left:0;width:100%;height:100%;display:none">
                                        <p style="height:100%;background:#4c4c4c;line-height:300px;color:#fff">
                                            将文件拖拽至此区域，即可上传</p>
                                    </div>
                                    <div class="drag_listener" style="opacity:0;position:absolute;top:0;left:0;width:100%;height:100%;display:none"></div>
                                    <div id="html5_1c3uu47tv62v1ml0km1d201eve3_container" class="moxie-shim moxie-shim-html5" style="position: absolute; top: 0px; left: 0px; width: 0px; height: 0px; overflow: hidden; z-index: 0;">
                                        <input id="html5_1c3uu47tv62v1ml0km1d201eve3" type="file" style="font-size: 999px; opacity: 0; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"
                                            accept="">
                                    </div>
                                </div>
                                <div class="item-upload up_progress" style="display:none">
                                    <p style="margin-top:220px">
                                        <span>文件名：</span>
                                        <span class="filename"></span>
                                    </p>
                                    <p>
                                        <span>已上传：</span>
                                        <span class="prog_uploaded"></span>
                                    </p>
                                    <!-- <p>
                                        <span>上传速度：</span>
                                        <span class="prog_speed"></span>
                                    </p> -->
                                    <div id="upimg">
                                        <div id="load" style="width: 0%;"></div>
                                        <div id="loadProcess" style="position:absolute;right:-45px;top:0px;color:#00a4ff">0%</div>
                                    </div>
                                    <p style="margin-bottom:40px">文件正在上传，请勿关闭浏览器</p>
                                    <button style="color:#00a4ff;margin:20px auto 20px;border-color:#00a4ff" class="btn_submit stop_upload">取消上传</button>
                                </div>
                            </div>
                        </div>
                        <div style="text-align:center;padding-bottom:30px">
                            <a href="javascript:;" class="step_top step_prev" style="margin-right:100px" data-tab-index="0">上一步</a>
                            <a href="javascript:;" class="step_top step_next" style="background:#4890ff;color:#fff;margin-right:0"
                                data-tab-index="2">下一步</a>
                        </div>
                    </div>

                </div>
                <div id="_config" class="my-app" style="display: none;">
                    <div class="tab-content">
                            <div class="depoly-said depoly-top" style="margin:0 30px 20px;color:#00A4B0">
                                    <b style="color:#00A4B0">提示：</b>请先完成ipa包上传
                                </div>
                        <div>
                            <div style="height: 20px;"></div>
                            <div class="clearfix">
                                <form class="common-form">
                                    <input type="hidden" name="appId" value="1908034947">
                                    <div class="depoly-length" style="">
                                        <div class="depoly-web">
                                            <div style="margin-bottom: 30px;">
                                                <span class="config-ios-name">
                                                    <a href="javascript:;" class="common-tip">
                                                        <span class="tip-content">appKey是shareinstall平台为每个应用分配的唯一标识符，sdk(Android/iOS/javascript)中需指定这个appKey</span>
                                                    </a>
                                                    AppKey
                                                </span>
                                                <div class="config-text">
                                                    <div>
                                                        <span style="color:#282828;font-weight:bold" id="configAppKey"></span>
                                                    </div>
                                                </div>
                                            </div>
                                            <div style="margin-bottom: 30px">
                                                <span class="config-ios-name">
                                                    Bundle Identifier
                                                    <b style="color:#F26358;">*</b>
                                                </span>
                                                <div class="config-text">
                                                    <div>
                                                        <!-- <input type="text" name="bundleId" value="" disabled> -->
                                                        <span style="color:#282828;font-weight:bold" id="configAppBundle"></span>
                                                    </div>
                                                </div>
                                            </div>

                                            <div style="margin-bottom:30px">
                                                    <span class="config-ios-name">
                                                        Team Id
                                                        <b style="color:#F26358">*</b>
                                                    </span>
                                                    <div class="config-text">
                                                        <div>
                                                            <span style="color:#282828;font-weight:bold" id="configAppTeam"></span>
                                                            <!-- <input type="text" name="teamId" value="" disabled> -->
                                                        </div>
                                                    </div>
                                                </div>

                                                <div style="margin-bottom:30px">
                                                        <span class="config-ios-name">
                                                            <a href="javascript:;" class="common-tip">
                                                                <span class="tip-content">shareinstall为每个应用随机分配的scheme，并保证唯一性，开发者需将此scheme配置到应用中，才能顺利拉起app</span>
                                                            </a>
                                                            scheme
                                                        </span>
                                                        <div class="config-text">
                                                            <div>
                                                                <span style="color: #282828;font-weight: bold;" id="configScheme"></span>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div>
                                                            <span class="config-ios-name">
                                                                关联域名(Associated Domains)
                                                                <b style="color:#F26358">*</b>
                                                            </span>
                                                            <div class="config-text">
                                                                <div>
                                                                    <span style="color: #282828;font-weight: bold;">applinks:<span class="doc-link"></span>.shareinstall.com</span>
                                                                </div>
                                                            </div>
                                                        </div>
                                        </div>
                                    </div>
                                    <!-- <div class="depoly-length">
                                        <fieldset>
                                            <div class="depoly-web" style="padding:0">
                                                <legend>
                                                    <div>
                                                        <span style="color:#282828;margin: 30px 0 20px 0;" class="config-ios-name">启用通用链接(Universal Link)</span>
                                                        <div class="config-text">
                                                            <div>
                                                                <label class="depoly-label">
                                                                    <input class="fieldset_switch" type="checkbox" name="ulinkEnabled" value="true" checked="" disabled>&nbsp;&nbsp;启用</label>
                                                            </div>

                                                        </div>
                                                    </div>
                                                </legend>
                                            </div>
                                            <div style="height: 1px"></div>
                                            <div class="depoly-said depoly-txt">
                                                <b>提示：</b>用于iOS&gt;=9.2中，在app已安装的情况下，从各种浏览器中拉起App。
                                            </div>
                                            <div class="depoly-web">
                                                <div style="margin:0 0 20px;">
                                                    <span class="config-ios-name">
                                                        关联域名(Associated Domains)
                                                        <b style="color:#F26358">*</b>
                                                    </span>
                                                    <div class="config-text">
                                                        <div>
                                                            <span style="color: #282828;font-weight: bold;">applinks:vjzt6r.shareinstall.io</span>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div>
                                                    <span class="config-ios-name">
                                                        Team Id
                                                        <b style="color:#F26358">*</b>
                                                    </span>
                                                    <div class="config-text">
                                                        <div>
                                                            <span style="color:#282828;font-weight:bold" id="configAppTeam"></span>
                                                            <input type="text" name="teamId" value="" disabled>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div>
                                                    <div class="config-text">
                                                        <div style="color:#656565;">
                                                            <label class="depoly-label">
                                                                <input type="checkbox" name="fastInstall" value="true">
                                                                <span>微信中直接安装（由于微信已禁用通用链接功能，默认提示使用safari打开）</span>
                                                            </label>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </fieldset>
                                    </div> -->
                                    <!-- <div class="depoly-length">
                                        <fieldset>
                                            <div class="depoly-web" style="padding:0">
                                                <legend>
                                                    <div>
                                                        <span style="color:#282828;margin: 30px 0 20px 0;" class="config-ios-name">启用scheme</span>
                                                        <div class="config-text">
                                                            <div>
                                                                <label class="depoly-label">
                                                                    <input class="fieldset_switch" type="checkbox" name="schemaEnabled" value="true" checked disabled>&nbsp;&nbsp;启用</label>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </legend>
                                                <div style="height: 1px"></div>
                                            </div>
                                            <div class="depoly-said depoly-txt">
                                                <b>提示：</b>用于iOS&lt;9.2中，在app已安装的情况下，从各种浏览器中拉起App。
                                            </div>
                                            <div class="depoly-web">
                                                <div>
                                                    <span class="config-ios-name">
                                                        <a href="javascript:;" class="common-tip">
                                                            <span class="tip-content">shareinstall为每个应用随机分配的scheme，并保证唯一性，开发者需将此scheme配置到应用中，才能顺利拉起app</span>
                                                        </a>
                                                        scheme
                                                    </span>
                                                    <div class="config-text">
                                                        <div>
                                                            <span style="color: #282828;font-weight: bold;" id="configScheme"></span>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </fieldset>

                                    </div> -->
                                    <div class="depoly-length">
                                        <fieldset>
                                            <!-- <div class="depoly-web" style="padding:0">
                                                    <legend>
                                                        <div>
                                                            <span style="color:#282828;margin: 30px 0 20px 0;" class="config-ios-name">集成appstore</span>
                                                            <div class="config-text">
                                                                <div>
                                                                    <label class="depoly-label">
                                                                        <input class="fieldset_switch" type="checkbox" name="marketEnabled" value="true">&nbsp;&nbsp;启用</label>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </legend>
                                                    <div style="height: 1px"></div>
                                                </div> -->
                                            <div class="depoly-said" style="margin-left:200px;">
                                            </div>
                                            <div class="depoly-web">
                                                <div>
                                                    <span class="config-ios-name">
                                                        appstore地址
                                                    </span>
                                                    <div class="config-text">
                                                        <div>
                                                            <input type="text" name="appstoreUrl" value="">
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="depoly-said depoly-txt">
                                                <b>提示：</b>应用上架appstore后，填写appstore地址。
                                            </div>
                                        </fieldset>
                                    </div>
                                    <div class="depoly-length" style="padding-top:40px">
                                        <fieldset>
                                            <div class="depoly-web" style="padding:0">
                                                <legend>
                                                    <div>
                                                        <span style="color:#282828;margin: 30px 0 20px 0;" class="config-ios-name">集成应用宝</span>
                                                        <div class="config-text">
                                                            <div>
                                                                <label class="depoly-label">
                                                                    <input class="fieldset_switch" type="checkbox" name="yybEnabled" value="true">&nbsp;&nbsp;启用&nbsp;&nbsp;</label>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </legend>
                                                <div style="height: 1px"></div>
                                            </div>
                                            <!-- <div class="depoly-said depoly-txt">
                                                <b>提示：</b>微信QQ目前已可直接进入appstore，没有配置的必要性！
                                            </div> -->
                                            <div class="depoly-web">
                                                <div>
                                                    <span class="config-ios-name">
                                                        应用宝地址
                                                    </span>
                                                    <div class="config-text">
                                                        <div>
                                                            <input type="text" name="yybUrl" value="" disabled>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </fieldset>
                                    </div>
                                    <div style="color:#00A4B0;font-size:14px;padding-top:10px;">
                                        保存将在10分钟后生效！
                                    </div>
                                    <div style="padding:40px 0">
                                        <button type="button" class="btn_a btn_submit" id="saveForm">保 存</button>
                                    </div>
                                </form>


                                <div style="text-align:center; padding-bottom: 20px">
                                        <a href="javascript:;" class="step_top step_prev" style="margin-right:100px" data-tab-index="1">上一步</a>
                                        <!-- <a href="javascript:;" class="step_top step_next" style="background:#4890ff;color:#fff;margin-right:0"
                                            data-tab-index="1">下一步</a> -->
                                    </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div style="background:#fff;width:800px;height:auto;display:none" id="_win_web_test">
        <form id="gen_test_form" class="common-form">
            <input type="hidden" name="appId">
            <fieldset style="margin-bottom:30px">
                <legend>
                    <label class="depoly-label" style="margin-left:60px;font-size:18px">生成测试链接</label>
                </legend>
                <div class="depoly-said" style="margin-left:60px;width:90%">
                    <b>提示：</b>在此输入一对任意的参数名/参数值，将生成一个测试链接； 手机扫描二维码即可开始测试。</div>
                <div style="border-bottom:1px solid #ededed;overflow:hidden;padding-bottom:10px">
                    <div style="border-bottom:none;min-height:100px;float:left;min-width:400px;padding-top:50px">
                        <p>
                            <span class="config-ios-name" style="margin-left:60px;margin-right:10px;width:100px">key</span>
                            <input type="text" name="key" value="testKey" placeholder="随机输入一个key" style="padding:5px 5px 5px 5px" maxlength="20">
                        </p>
                        <p>
                            <span class="config-ios-name" style="margin-left:60px;margin-top:40px;margin-right:10px;width:100px">value</span>
                            <input type="text" name="value" value="testValue" placeholder="随机输入一个value" style="margin-top:40px;padding:5px 5px 5px 5px" maxlength="20">
                        </p>
                    </div>
                    <div style="float:right">
                        <div style="width:180px;height:180px;margin-top:15px;border:2px solid #ededed;line-height:180px;text-align:center"
                            class="qr_img"></div>
                        <p style="width:300px;height:auto;margin-top:20px"></p>
                    </div>
                </div>
                <p style="text-align:center">
                    <button type="button" class="depoly-button" style="margin:30px 0 20px 65px;color:#0c6;border:1px solid #0c6;background:#fff">生成测试链接</button>
                </p>
            </fieldset>
        </form>
    </div>

    <div style="background:#fff;width:420px;height:auto;display:none;text-align:center" id="paymentInfo">
        <img src="./img/console/shareinstall.png" alt="" style="padding: 28px 0 10px">
        <p class="pop-appname">Shareinstall</p>
        <div class="pop-status">服务已过期</div>

        <a href="./payment.html" class="btn-poppay">去开通服务</a>
    </div>

    <div id="J_functionBar" class="functionBar">
        <div class="bar-qq">
            <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&amp;uin=2881355608&amp;site=qq&amp;menu=yes" class="icon icon1" title="点击这里给我发消息">
    
            </a>
            联系
        </div>
        <!--<div class="bar-code">-->
        <!--<span class="icon icon2">-->
    
        <!--</span>-->
        <!--关注-->
        <!--</div>-->
        <div class="bar-back" id="J_barBack">
            返&nbsp;回<br>
            顶&nbsp;部
        </div>
    </div>
</body>

</html>